get last slash value in php

41

substr(strrchr(rtrim($url, '/'), '/'), 1)

Comments

Submit
0 Comments